import {createApp} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'vant/lib/index.css'
import {
	AddressEdit,
	AddressList,
	BackTop,
	Badge,
	Button,
	Card,
	CellGroup,
	Checkbox,
	CheckboxGroup,
	Collapse,
	CollapseItem,
	Field,
	Form,
	Grid,
	GridItem,
	Icon,
	Image,
	Lazyload,
	List,
	Popup,
	PullRefresh,
	Sidebar,
	SidebarItem,
	Stepper,
	SubmitBar,
	Swipe,
	SwipeCell,
	SwipeItem,
	Tab,
	Tabs,
	Tag
} from 'vant'

createApp(App)
.use(store)
.use(List)
.use(AddressList)
.use(Grid)
.use(GridItem)
.use(AddressEdit)
.use(router)
.use(Stepper)
.use(CheckboxGroup)
.use(Checkbox)
.use(Badge)
.use(SubmitBar)
.use(Popup)
.use(PullRefresh)
.use(SwipeCell)
.use(Swipe)
.use(SwipeItem)
.use(Sidebar,)
.use(SidebarItem)
.use(Icon)
.use(Card)
.use(Collapse)
.use(CollapseItem)
.use(Tab)
.use(BackTop)
.use(Tabs)
.use(Image)
.use(Tag)
.use(Button)
.use(Form)
.use(Field)
.use(CellGroup)
.use(Lazyload, {
	loading: require('./assets/images/default.png')
})
.mount('#app')
